package com.qf.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.entity.OrderEntity;
import com.qf.vo.OrderParam;


import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * 
 *
 * @author liuzishuo
 * @email sunlightcs@gmail.com
 * @date 2021-07-21 15:56:24
 */
public interface OrderService extends IService<OrderEntity> {

    String createOrder(OrderParam orderParam, Integer uid) throws ExecutionException, InterruptedException;

    OrderEntity getById(String oid, Integer tabIndex);


    void updateOrderStatus(String oid, Integer status);

    OrderEntity getById2(String oid);

    OrderEntity getInfoById(String oid);
}

